#include "stdafx.h"
#include "PluginFactory.h"
//#include "MainForm.h"
//#include "FutureAccoutQueryForm.h"
//#include "RiskMonitorForm.h"
#include "DlgStockAutoTrade.h"
#include "DlgFutureAutoTrade.h"
#include "DlgParaSet.h"
#include "PluginHelp.h"

PLUGINAPI void* CreateStockActionForm(void* param)
{
	//AFX_MANAGE_STATE(AfxGetStaticModuleState());
	SWITCHRES(_T("Plugin.iSolarData.dll"));

	PluginParam* pParam = (PluginParam*)param;

	
	void* dlg = DlgStockAutoTrade::CreateShow(pParam->pParent);

	return dlg;
}



PLUGINAPI void* CreateFutureActionForm(void* param)
{
	//AFX_MANAGE_STATE(AfxGetStaticModuleState());
	SWITCHRES(_T("Plugin.iSolarData.dll"));

	PluginParam* pParam = (PluginParam*)param;


	//void* dlg = CDlgParaSet::CreateShow(pParam->pParent);
	void* dlg = DlgFutureAutoTrade::CreateShow(pParam->pParent);

	return dlg;
}


